package com.hqj.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.Long;
import java.util.Date;
import java.lang.String;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/5/16/016
 */
@ApiModel(description = "FileList",value = "FileList")
@TableName(value="file_list")
@Data
public class FileList implements Serializable{

	@ApiModelProperty(value = "",required = false)
     @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Long id;

	@ApiModelProperty(value = "名称",required = false)
    @Column(name = "name")
	private String name;

	@ApiModelProperty(value = "父级id",required = false)
    @Column(name = "parent_id")
	private Long parentId;

	@ApiModelProperty(value = "下载地址",required = false)
    @Column(name = "download_url")
	private String downloadUrl;

	@ApiModelProperty(value = "创建时间",required = false)
    @Column(name = "create_by")
	private Date createBy;
	@ApiModelProperty("资料集合")
	@TableField(exist = false)
	private List<FileList> listList;
}
